{extend name="main/index" /}
{block name="main"}

<div class="content-page">
    <div class="content">


        <table class="table table-hover">

            <!-- On rows -->
            <tr>
                <th class="active">ID</th>
                <th class="danger">小说类型</th>
                <th class="info">操作</th>
            </tr>
            <!-- On cells (`td` or `th`) -->
            {volist name="data" id="vo"}
            <tr>
                <td>{$vo.id}</td>
                <td>{$vo.cname}</td>
                <td>
                    <a class="btn btn-default" href="{:url('admin/Category/edit',['id'=>$vo.id])}" >修改</a>

                    <a class="btn btn-default" href="{:url('admin/Category/del',['id'=>$vo.id])}" >删除</a>

                </td>
            </tr>
            {/volist}
        </table>

    </div>
</div>

{/block}
